{% load staticfiles %}
<nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="navbar-header">
        <a href="" class="navbar-brand"><img height="100%" src="{% static 'imgs/head.jpg' %}" title="主页"></a>
        <button class="navbar-toggle collapsed" data-toggle='collapse' data-target='#mynavbar'>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
        </button>
    </div>
    <div class="collapse navbar-collapse" id="mynavbar">
        <ul class="nav navbar-nav">
            <li class="ttl active"><a href="" title="建站者">无良小万</a></li>
            <li class="ttl"><a href="{% url 'index' %}" title="index">首页</a></li>
            <li><a href="{% url 'fun_novel_page' %}" title="index">小说</a></li>
            <li class="ttl"><a href="{% url 'fun_graduate' %}">车牌识别</a></li>
        </ul>
        <form class="navbar-form navbar-right">
            <div class="form-group">
                <input type="text" id="" value="" class="form-control" placeholder="输入喜好" />
            </div>
            <input type="submit" value="Go" class="btn btn-warning" style="margin-right: 20px" />
        </form>
        <!-- <ul class="nav navbar-nav navbar-right">
            <li class="dropdown">
                <a data-toggle='dropdown'>下拉列表<span class="caret"></span></a>
                <ul class="dropdown-menu">
                    <li><a href="">s1</a></li>
                    <li><a href="">s2</a></li>
                    <li class="divider"></li>
                    <li><a href="">s3</a></li>
                    <li><a href="">s4</a></li>
                </ul>
            </li>
        </ul> -->
    </div>
</nav>